package com.bifrost.model.cart;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author rangf
 * @date 2017/11/25
 */
public class CartItemResult {
    private Long cartItemId;
    private Long skuId;
    private Long productId;
    private Long quantity;
    private BigDecimal price;
    private String name;
    private String url;
    private String shippingType;
    private boolean isAvailable;
    private String unAvailableReason;
    private Integer stock;
    private Map skuAssociation;

    public Long getCartItemId() {
        return cartItemId;
    }

    public void setCartItemId(Long cartItemId) {
        this.cartItemId = cartItemId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getShippingType() {
        return shippingType;
    }

    public void setShippingType(String shippingType) {
        this.shippingType = shippingType;
    }

    public boolean isAvailable() {
        return isAvailable;
    }

    public void setAvailable(boolean available) {
        isAvailable = available;
    }

    public String getUnAvailableReason() {
        return unAvailableReason;
    }

    public void setUnAvailableReason(String unAvailableReason) {
        this.unAvailableReason = unAvailableReason;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Map getSkuAssociation() {
        return skuAssociation;
    }

    public void setSkuAssociation(Map skuAssociation) {
        this.skuAssociation = skuAssociation;
    }
}
